﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TrocaOleo.Controller;

namespace TrocaOleo.Viewer
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnGravar_Click(object sender, EventArgs e)
        {
            WsTrocaOleo wsMot = new Controller.WsTrocaOleo();
            wsMot.InserirMotorista(txtnome.Text, txtcpf.Text, txtdtadmissao.Text, DropDownList1.SelectedValue, txtcnh.Text, txtcategoria.Text, txtvenccnh.Text);

        }
    }
}